package com.djq.hhc.redis;

/**
 * Created with IntelliJ IDEA.
 *
 * @Author: dadd7
 * @Date: 2023/02/26/下午 10:22
 * @Description:
 */
public class RedisConstants {
    public static final String LOGIN_CODE_KEY = "login:code:";
    public static final Long LOGIN_CODE_TTL = 5L;
    public static final String LOGIN_TOKEN_KEY = "login:token:";
    public static final Long LOGIN_TOKEN_TTL = 36000L;
    public static final Long CACHE_NULL_TTL = 2L;

    public static final String NOW_USER_KEY = "now:user:";
    public static final Long NOW_USER_TTL = 2L;

    public static final String SHOP_GOODS_KEY = "shop:goods:";
    public static final Long SHOP_GOODS_TTL = 2L;

    public static final String SHOP_ORDER_KEY = "shop:order:";
    public static final Long SHOP_ORDER_TTL = 15L;

    public static final String POST_LIKED_KEY = "post:liked:";

    public static final String USER_FOLLOW_KEY = "follow:";

//    public static final Long CACHE_SHOP_TTL = 30L;
//    public static final String CACHE_SHOP_KEY = "cache:shop:";
//
//    public static final String LOCK_SHOP_KEY = "lock:shop:";
//    public static final Long LOCK_SHOP_TTL = 10L;
//
//    public static final String SECKILL_STOCK_KEY = "seckill:stock:";
//    public static final String BLOG_LIKED_KEY = "blog:liked:";
//    public static final String FEED_KEY = "feed:";
//    public static final String SHOP_GEO_KEY = "shop:geo:";
//    public static final String USER_SIGN_KEY = "sign:";
}
